package com.classroompie.classroompiecommon.utils;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

/**
 * @author jiahao
 * @since 2024/6/26 周三
 */
public class NumberGenerator {
    public static int generateRandomNumber(int start, int end) {
        Random random = new Random();
        return random.nextInt((end - start) + 1) + start;
    }
    public static int generateCourseBGNumber() {
        return generateRandomNumber(51,68);
    }
}